package com.maistars.spider.service.parser.policy.impl;

import com.maistars.spider.service.parser.policy.ParserPolicy;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;

/**
 * @author dhr
 * @date 2021/1/17 下午4:13
 */
public class ConstPolicy implements ParserPolicy {

    @Override
    public void init(String content) {

    }

    @Override
    public List<String> execute(String path, Map<String, String> filterParams) {
        List<String> result = new ArrayList<>();
        result.add(path);
        return result;
    }
}
